<div class="reply-item" >
	<div class="reply-detail" ng-repeat="reply in topic.partReplies"  ng-click="gotoDetail()">
		<img class="avatar-small"  ng-click="gotoUserClub(reply.user)" ng-src="{{reply.user.avatar?reply.user.avatar:'img/default_head.jpg'}}"/>

		<span class="reply-author" ng-click="gotoUserClub(reply.user)" ng-bind="reply.user.name"></span>
		<span class="reply-owner" ng-if="(topic.user.userId == reply.user.userId)">楼主</span>
		<span ng-if="reply.toUser">回复 <span class="reply-to" ng-click="gotoUserClub(reply.toUser)" >{{reply.toUser.name}}</span></span>
		: 
		<span class="reply-content" ng-bind-html="reply.content | emojify"></span>

		<a class="btn-drop" ng-if="(ownerId == reply.user.userId) && false" ng-click="showRemovePopover(reply)">
			<i class="fa fa-angle-down"></i> 
		</a>
		<div class="remove-popover" ng-if="false" ng-show="reply.canRemove" ng-click="removeReply(reply.snsReplyId)">
			删除
		</div>
		<div ng-if="topic.images.length">
			<p ng-repeat="img in reply.images">
			<img ng-src="{{img}}"/>
			</p>
		</div>
		<div class="row reply-additional-info">
			<div class="col-xs-7">
				{{reply.createdDescription}}
			</div>
			<div class="col-xs-5">
				<a ng-click="voteReply(reply)" ng-if="!reply.isVotedByLoginUser"><i class="fa fa-thumbs-o-up"></i> {{reply.supportCount}}</a>
				<a ng-if="reply.isVotedByLoginUser"><i class="fa fa-thumbs-up"></i> {{reply.supportCount}}</a>
				<a ng-click="addReply(reply)"><i class="fa fa-twitch"></i> {{reply.replyCount}}</a>
			</div>
		</div>
	</div>
	<div ng-if="hasMore" class="row show-more"> 
		<div class="col-xs-6 col-xs-offset-6 pull-right"><a class="btn btn-default btn-more-replies" ng-click="showMoreReplies(topic.snsTopicId)">查看全部{{topic.replyCount}}条回复</a>
	</div>
</div>
	
